<?php
namespace app\index\controller;

use app\common\model\SharePage as SharePageModel;
class SharePage extends BaseController
{
    public function createOne(){
        $data = [
            'product_id'=>input('product_id'),
            'user_id'=>$this->user_info['id'],
            'page'=>input('page')
        ];
        SharePageModel::createOne($data);
    }
}
